package com.roadjava.rbac.constants;

import com.baomidou.mybatisplus.core.toolkit.StringPool;


public class CommonConstants {
    /**
     * 默认当前是第几页
     */
    public static final Long DEFAULT_PAGE_NOW = 1L;
    /**
     * 默认每页大小
     */
    public static final Long DEFAULT_PAGE_SIZE = 10L;
    public static final String DOT = StringPool.DOT;
    public static final String SLASH = StringPool.SLASH;
    public static final String COMMA = StringPool.COMMA;
    /**
     * 上传文件所在目录前缀
     */
    public static final String RESOURCES_PREFIX = "resources/";
    /**
     * 文件按天生成目录进行存储
     */
    public static final String UPLOAD_DATE_FORMAT = "yyyyMMdd/";
    /**
     * 顶层权限的parent_id
     */
    public static final Long TOP_PARENT_ID = -1L;
}
